<template>
  <div class="about">
    <!--<h1>This is an about page</h1>-->
    <el-col :span="3"
      ><el-button
        type="primary"
        size="mini"
        @click="search()"
        icon="el-icon-search"
        v-has="'user:search'"
        >搜索</el-button
      ></el-col
    >
    <el-button
      size="mini"
      type="primary"
      v-has="'user:impower'"
      @click="showRoleList(scope.$index, scope.row)"
      >授予角色</el-button
    >
    <el-button
      size="mini"
      v-has="'user:modify'"
      @click="handleEdit(scope.$index, scope.row)"
      >编辑</el-button
    >
    <el-button
      size="mini"
      type="danger"
      v-has="'user:delete'"
      @click="handleDelete(scope.$index, scope.row)"
      >删除</el-button
    >
  </div>
</template>
